package com.liaowei.novel.domain;

public class Chapter {
    private Integer id; // id
    private Integer novelId; // 小说id
    private String title; // 标题
    private String content; // 内容

    public Chapter() {
    }

    public Chapter(Integer id, Integer novelId, String title, String content) {
        this.id = id;
        this.novelId = novelId;
        this.title = title;
        this.content = content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNovelId() {
        return novelId;
    }

    public void setNovelId(Integer novelId) {
        this.novelId = novelId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
